﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Online.ascx.cs" Inherits="module_Online" %>

<%
    UserBusiness user = new UserBusiness();
    PanelBusiness p = new PanelBusiness();
    PanelesEntities entity = p.getItem(ID);
    if (Display_Container.Trim().Equals("True") || Display_Container.Trim().Equals("1"))
    {
        Response.Write("<div id=\"title\">" + entity._name + "</div>");
    }
    ArrayList items = user.GetUserView();
    if (items != null)
    {
        UsersEntities item = null;
        for (int i = 0; i < items.Count; i++)
        {
            item = (UsersEntities)items[i];
            Response.Write("<div id=\"contain\">");
            Response.Write("<span id=\"cc\">"+item._name+"</span><br/>");
            Response.Write("<span id=\"image\">");
            Response.Write("<a class='yahoo' href=\"ymsgr:sendIM?"+item._messenger+"\">");
            Response.Write("<img src=\"http://opi.yahoo.com/online?u="+item._messenger+"&m=g&t=6\" alt='online support' height=\"70\" width=\"120\"/></a>");
            Response.Write("</span><br/>");
            Response.Write("<span id=\"phone\">Điên thoại: <i>"+item._mobile+"</i></span>");
            Response.Write("</div>");
        }
        
    }
     %>